

#ifndef _POINT_H_
#define _POINT_H_



class Point{
public:
	Point(int x, int y):x(x), y(y){};
	Point(){x = y = 0;}
	int getX()const {return x;}
	int getY()const {return y;}
	void setX(int xx){x = xx;}
	void setY(int yy){y = yy;}
	bool equal(const Point& a)const;
	float pointToLineDist(Point line1, Point line2)const;
	bool mid(Point p1, Point p2) const;
	bool angleGreatThan90(const Point& p1, const Point& p2);
private:
	int x, y;
};

#endif